package com.example.smartcity.logic.model

/**
 * 服务模块对象
 */
data class More(
    val code: String, // 200
    val msg: String, // 查询成功 or 失败
    val rows: List<Rows>, //
    val total: String //
){
    data class Rows(
        val id: Int, //17
        val serviceName: String, //停车场
        val serviceDesc: String, //查询停车场
        val serviceType: String, //车主服务
        val imgUrl: String, // 图片地址
        val link: String, //
        val sort: Int, //
        val isRecommend: String //
    )
}

/*

{
    "code": 200,
    "msg": "查询成功",
    "rows":
    [{
        "id": 17,
        "serviceName": "停车场",
        "serviceDesc": "查询停车场",
        "serviceType": "车主服务",
        "imgUrl": "http://localhost:7777/profile/upload/image/2021/05/10/814fc6c4-de48-48a1-95f8-de3e749e348d.png",
        "link": "park/index",
        "sort": 1,
        "isRecommend": "N"
    }],
    "total": 1
}

*/

